Project now produces a static library. Test function moved to its own directory.