Author and student tests working, added/fixed functions in dtestlib