fixed some minor bugs with tests