student detail and temp/test data refactor