Add tests and update bower config