Fixed minor bug in test, but input still buggy