implemented remaining tests, beta version finished