Medical students skipped training placements and stayed up overnight to book exam slot