Behat

Add behat tests for key functionality