Added working tests.