JSHint updates.
implemented first test