Add License and moved tests to spec