There is no reason why you can't include the Skill Test within the 45 hours and if you are good enough, a night qualification as well.
In fact you can take the JAA PPL skill test after just 35 hours.The rules say you must have completed all "Training" i.e 25 hours dual plus 10 hours solo, the remaining 10 hours is any other flying not training.