Added test for new admit() method
Updated a bug found in testing admit() function.